#!/bin/sh

echo "mk $1"
NM=`basename "$1"`
NM="${NM%.scm}"
if [ -z "$TAROT_BOOTSTRAP" ]
then
	time echo "(include \"$1\")" | vm/vm apps/compile-stdin.q > "build/$NM.q"
else
	time echo "(include \"$1\")" | start-chez.sh > "build/$NM.q"
fi
